<aside class="sidebar">
  <div class="widget widget_recent_entries">
    <div class="title">
      <h2>热门文章</h2>
    </div>
    <ul>
    {ms:arclist typeid='' size=9 orderby='hit' order='desc'}
	<li><a title="[field.title/]" href="{ms:global.url/}[field.link/]">[field.title/]</a></li>
      {/ms:arclist}
    </ul>
  </div>
  <div class="widget widget_archive">
    <div class="title">
      <h2>文章归档</h2>
    </div>
    <ul>
		{ms:channel flag='nav' type='asd'}
         <li><a href="<#if field.type==3>{ms:global.url/}${field.typeurl}<#else>{ms:global.url/}${field.typelink}</#if>" title="${field.typetitle}">${field.typetitle}</a></li>
         {/ms:channel}        
    </ul>
  </div>
  <div class="widget git_postlist">
    <div class="title">
      <h2>推荐文章</h2>
    </div>
    <ul>
    {ms:arclist typeid='' size=8 flag='c' orderby='hit' order='desc'}
 		<li><a title="[field.title/]" href="{ms:global.url/}[field.link/]"><span class="thumbnail tuijian">
        <mip-img layout="responsive" width="100" height="64" src="{ms:global.host/}/{@ms:file field.litpic/}" alt="[field.title/]" class="mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded" mip-firstscreen-element=""><mip-i-space style="display: block; padding-top: 64%;">space</mip-i-space><img class="mip-fill-content mip-replaced-content" src="{ms:global.host/}/{@ms:file field.litpic/}" alt="[field.title/]"></mip-img>
        </span><span class="text">[field.title/]</span><span class="muted">[field.date?string("MM-dd")/]</span><span class="muted">热度：<script src="{ms:global.host/}/cms/content/[field.id/]/hit"></script></span></a></li>
 	{/ms:arclist}
    </ul>
  </div>
  <div class="widget git_tag">
    <div class="title">
      <h2><a href="javascript:void(0);" target="_blank">热点标签云</a></h2>
    </div>
    <div class="git_tags">
     {ms:hotTags}          
		<a href="{ms:global.host/}/mcms/search.do?content_title=[field.name/]" title="[field.name/]">[field.name/]</a>
       {/ms:hotTags}             
             </div>
  </div>
  <div class="widget widget_links">
    <div class="title">
      <h2>友情链接:</h2>
    </div>
    <ul class="xoxo blogroll">
    {ms:linklist}
    <li><a href="[field.url/]" target="_blank">[field.name/]</a></li>
	{/ms:linklist}
    </ul>
  </div>
</aside>